/*
 * MISE_protocol.h
 *
 *  Created on: 2014.01.08.
 *      Author: atill_000
 */

#ifndef MISE_protocol_H_
#define MISE_protocol_H_


#define INTERP_SERVO_PARAMS_SIZE 2

inline uint8_t INTERP_GetCascadeMultuplier();
inline int16_t INTERP_GetSpeedFast();
inline int16_t INTERP_GetSpeedSlow();
uint8_t INTERP_GetMotorTask();
uint8_t INTERP_GetServoTask();
float INTERP_GetMotorD();
float INTERP_GetMotorI();
float INTERP_GetMotorP();
float INTERP_GetServoDV(uint8_t index);
float INTERP_GetServoIV(uint8_t index);
float INTERP_GetServoPV(uint8_t index);
float INTERP_GetRatioV(uint8_t index);
float INTERP_GetServoDO(uint8_t index);
float INTERP_GetServoIO(uint8_t index);
float INTERP_GetServoPO(uint8_t index);
float INTERP_GetRatioO(uint8_t index);
int16_t INTERP_GetSpeed();
void MISE_Interpreter(uint16_t Type, uint8_t * Data, uint16_t Length);

#endif /* MISE_protocol_H_ */
